package com.example.springboot.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zf
 * @APP地址系统所有地址对应关系表
 * @since 2021-03-17
 */
@Data
public class MallRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 京东父级区域ID
     */
    private Integer jdPid;

    /**
     * 地址名称
     */
    private String name;

    /**
     * 区域级别
     */
    private Boolean grade;

    /**
     * 京东区域ID
     */
    private Integer jdId;

    private Date createTime;

    private Date updateTime;

    private Integer invalid;


}
